package com.bwie.common.exception;

/**
 * 业务处理异常
 */
public class BizException extends RuntimeException {

    /**
     * 错误状态吗
     */
    private int code;

    /**
     * 错误信息
     */
    private String message;

    public BizException(String message) {
        this.message = message;
    }

    public BizException(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
